package com.ruoyi.system.domain.dto;

import javax.validation.constraints.NotNull;
import java.util.List;

public class DishUpdateDTO {
    @NotNull(message = "id不能为空")
    private Integer id;
    private String dishName;
    private String description;

    private List<MaterialAddDTO> addList;
    private List<Integer> deleteList;
    private List<MaterialUpdateDTO> updateList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<MaterialAddDTO> getAddList() {
        return addList;
    }

    public void setAddList(List<MaterialAddDTO> addList) {
        this.addList = addList;
    }

    public List<Integer> getDeleteList() {
        return deleteList;
    }

    public void setDeleteList(List<Integer> deleteList) {
        this.deleteList = deleteList;
    }

    public List<MaterialUpdateDTO> getUpdateList() {
        return updateList;
    }

    public void setUpdateList(List<MaterialUpdateDTO> updateList) {
        this.updateList = updateList;
    }
}
